package com.qiangesoft.bootcodegen.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 表配置VO
 * </p>
 *
 * @author qiangesoft
 * @date 2024-03-28
 */
@Data
@ApiModel(value = "表配置VO")
public class BcgTableVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "数据源id")
    private Long dataSourceId;

    @ApiModelProperty(value = "数据源名称")
    private String dataSourceName;

    @ApiModelProperty(value = "表名称")
    private String tableName;

    @ApiModelProperty(value = "表注释")
    private String tableComment;

    @ApiModelProperty(value = "生成作者")
    private String genAuthor;

    @ApiModelProperty(value = "生成方式：0-zip 1-路径")
    private String genType;

    @ApiModelProperty(value = "生成路径")
    private String genPath;

    @ApiModelProperty(value = "生成包路径")
    private String genPackage;

    @ApiModelProperty(value = "生成模块名")
    private String genModule;

    @ApiModelProperty(value = "生成业务名")
    private String genBusiness;

    @ApiModelProperty(value = "生成实体类名")
    private String genClass;

    @ApiModelProperty(value = "生成功能描述")
    private String genFunction;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建人")
    private Long createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

}
